﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ReportPopularAuthors.ascx.cs" Inherits="ReportPopularAuthors" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<asp:Panel ID="Panel1" runat="server">
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" Height="400px" Width="400px">
        <LocalReport ReportPath="MRPopularAuthors.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                    Name="ReportDatasetPopularAuthors_REPORT_PopularAuthors" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        TypeName="ReportDatasetPopularAuthorsTableAdapters.REPORT_PopularAuthorsTableAdapter">
        <SelectParameters>
            <asp:QueryStringParameter Name="LibraryID" QueryStringField="id" 
                Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Panel>


